<template>
  <div>
    <h1>父组件------{{ message }}</h1>
    <hr />
    <SlotSubComponent>
      <!-- <p>{{ message }}</p> -->
    </SlotSubComponent>
  </div>
</template>

<script setup>
import SlotSubComponent from "./SlotSubComponent.vue";

const message = "这是组件的自定义内容";
</script>

<style lang="scss" scoped></style>
